<?php
/**
 *
 * PHP 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       Cake.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
?>
<!DOCTYPE HTML>
<html lang="en-US">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <?php echo $this->Html->charset(); ?>
        <title>
            <?php echo $title_for_layout; ?>
        </title>
        <?php
        echo $this->Html->meta('icon');

        /** Styles * */
        echo $this->Html->css('bootstrap');
        echo $this->Html->css('bootstrap-responsive');
        echo $this->Html->css('bootstrap-overrides');
        echo $this->Html->css('plugins/aristo/jquery-ui');
        echo $this->Html->css('plugins/msgGrowl/msgGrowl');
        echo $this->Html->css('plugins/msgAlert/msgAlert');
        echo $this->Html->css('plugins/lightbox/jquery.lightbox');
        echo $this->Html->css('plugins/highcharts/highslide');
        echo $this->Html->css("plugins/flexigrid/flexigrid");
        echo $this->Html->css("plugins/jquery-alerts/jquery.alerts");
        echo $this->Html->css('plugins/iphone-unlock/slider');
        echo $this->Html->css('slate');
        echo $this->Html->css('slate-responsive.css');
        echo $this->Html->css('custom');
        /** Javascripts * */
        echo $this->Html->script("jquery-1.7.2.min.js");
        echo $this->Html->script("jquery-ui-1.8.21.min.js");
        echo $this->Html->script("jquery.ui.touch-punch.min.js");
        echo $this->Html->script("bootstrap.js");
        echo $this->Html->script("plugins/msgGrowl/msgGrowl.js");
        echo $this->Html->script("plugins/msgAlert/msgAlert.js");
        echo $this->Html->script("plugins/lightbox/jquery.lightbox.js");
        echo $this->Html->script("plugins/validate/jquery.validate.js");
        echo $this->Html->script("plugins/knob/jquery.knob.js");
        echo $this->Html->script("plugins/highcharts/highcharts.js");
        echo $this->Html->script("plugins/jquery-alerts/jquery.alerts.js");
        echo $this->Html->script("plugins/flexigrid/flexigrid.js");
        echo $this->Html->script('plugins/iphone-unlock/slider.js');
        echo $this->Html->script("Slate.js");
        // User defined js library
        echo $this->Html->script("jlib.js");
        ?>
    </head>
    <body>
        <?php echo $this->element('loader'); ?>
        <!-- Header -->
        <?php echo $this->element('header'); ?>
        <!-- Navigation -->
        <?php echo $this->element('navigation'); ?>

        <div id="content">
            <?php echo $this->Session->flash(); ?>
            <?php echo $this->fetch('content'); ?>
        </div> <!-- /#content -->

        <?php echo $this->element('footer'); ?>
        <?php echo $this->element('ui'); ?>

        <?php //echo $this->element('sql_dump'); ?>
    </body>
</html>